let a = [1,2,3]
console.log(a[0])
console.log(a[1])
console.log(a[2])
console.log(a[a.length-1])